package com.jeecms.wicool.entity.user;

import java.sql.Timestamp;

import com.jeecms.wicool.entity.shops.ShopInfo;
import com.jeecms.wicool.entity.tradearea.OfficeBuilding;
import com.jeecms.wicool.entity.tradearea.TradeArea;
import com.jeecms.wicool.entity.user.base.AbstractAddress;

/**
 * Address entity. @author MyEclipse Persistence Tools
 */
public class Address extends AbstractAddress implements java.io.Serializable {

	
	private TradeArea area;
	
	private OfficeBuilding build;
	
	// Constructors

	public TradeArea getArea() {
		return area;
	}

	public void setArea(TradeArea area) {
		this.area = area;
	}

	public OfficeBuilding getBuild() {
		return build;
	}

	public void setBuild(OfficeBuilding build) {
		this.build = build;
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/** default constructor */
	public Address() {
	}

	/** full constructor */
	public Address(Integer id, ShopInfo shop, UserInfo user,
			String consigneeName, String consigneeAddr, Long mobile,
			String email, Integer isDefault, Timestamp createTime,
			Timestamp updateTime) {
		super(id, shop, user, consigneeName, consigneeAddr, mobile, email,
				isDefault, createTime, updateTime);
	}
}
